Fix annotations on ostree_mutable_tree_lookup()
authorJames Westman <james@jwestman.net>
Mon, 30 May 2022 22:28:54 +0000 (17:28 -0500)
committerJames Westman <james@jwestman.net>
Mon, 30 May 2022 22:36:07 +0000 (17:36 -0500)
commit03d592b1169615b6cabb2b35c218cde76a1023b6
treedffc35048675e8880db58f93a120043537295a6d
parent7aa17acd8dea8687136810bab9f703f9afdbccde
Fix annotations on ostree_mutable_tree_lookup()

(nullable) and (optional) were missing on lookup()'s out parameters,
which caused the rust bindings for the function to not work. Due to the
missing (nullable), it would return a Result<(GString, MutableTree), _>,
not a Result<(Option<GString>, Option<MutableTree>), _>, which led to
panics.
src/libostree/ostree-mutable-tree.c